<h1> {{ form }}</h1>

{% if error_message %}<p><strong>{{ error_message }}</strong></p>{% endif %}

<ul>
{% for c in form.commentonstudent_set.all %}
  <li>
    over {{ c.student  }}: {{ c.comment }}
  </li>
{% endfor %}
</ul>

<form action="/forms/{{ form.id }}/comment/" method="post">
{% for student in students %}
    <input type="radio" name="student" id="student{{ forloop.counter }}" value="{{ student.id }}" />
    <label for="student{{ forloop.counter }}">{{ student.name }}</label><br />
{% endfor %}
  <input type="text" name="comment" id="comment" value="" />
  <label for="comment">Comment</label><br />
<input type="submit" value="Vote" />
</form>

